package com.lion.ball.modules.orderfood.web.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.beans.factory.annotation.Autowired;
import com.lion.common.spring.business.base.BaseCrudController;
import com.lion.ball.modules.orderfood.domain.entity.OfdOrderCustomerEntity;
import com.lion.ball.modules.orderfood.web.model.params.create.OfdOrderCustomerCreateParam;
import com.lion.ball.modules.orderfood.web.model.params.update.OfdOrderCustomerUpdateParam;
import com.lion.ball.modules.orderfood.web.model.params.search.OfdOrderCustomerSearchParam;
import com.lion.ball.modules.orderfood.web.model.params.order.OfdOrderCustomerOrderParam;
import com.lion.ball.modules.orderfood.web.model.results.OfdOrderCustomerResult;
import com.lion.ball.modules.orderfood.dao.repository.OfdOrderCustomerRepository;
import com.lion.ball.modules.orderfood.service.assistants.converters.OfdOrderCustomerConverter;
import com.lion.ball.modules.orderfood.service.def.OfdOrderCustomerService;
import com.lion.ball.modules.orderfood.web.api.OfdOrderCustomerApi;

/**
 * @author Chris Chan
 * Create on 2025-10-18 13:33
 * Use for: 订单与消费者关联 接口实现
 * Explain:
 * 
 */
@RestController
@RequestMapping("ofd/order/customer")
public class OfdOrderCustomerController implements OfdOrderCustomerApi, BaseCrudController<
        OfdOrderCustomerEntity,
        OfdOrderCustomerCreateParam,
        OfdOrderCustomerUpdateParam,
        OfdOrderCustomerSearchParam,
        OfdOrderCustomerOrderParam,
        OfdOrderCustomerResult,
        OfdOrderCustomerRepository,
        OfdOrderCustomerConverter,
        OfdOrderCustomerService
        > {

    @Autowired
    OfdOrderCustomerService ofdOrderCustomerService;

    @Override
    public OfdOrderCustomerService getService() {
        return ofdOrderCustomerService;
    }
}